package org.boot.fast.core.mate.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
public class ColumnInfo {

    @Schema(description = "字段名")
    private String columnName;

    @Schema(description = "字段类型")
    private String dataType;

    @Schema(description = "字段是否为空；YES：是、NO：否")
    private String isNullable;

    @Schema(description = "字段默认值")
    private String columnDefault;

    @Schema(description = "字段注释")
    private String columnComment;

    private String columnKey;
}